package com.mcfly.Exception;

import com.mcfly.enums.ResultEnum;

/**
 * Created by Administrator on 2018/6/24.
 */
public class GirlException extends RuntimeException {
    private Integer code;

    public GirlException(ResultEnum resultEnum){
        super(resultEnum.getMsg());
        this.code = resultEnum.getCode();
    }

    public Integer getCode(){
        return code;
    }

    public void setCode(Integer code){

    }
}
